package com.demo.service;

import java.util.List;

import com.demo.entity.Permission;

public interface PermissionService {
	
	/**
	 * @param roleId
	 * @return List<Permission>
	 * 根据roldId获取相应的Permission集合
	 * */
	List<Permission> getPermissions(String roleId);
	
	List<Permission> getPermissionsByUsername(String username);
}
